class LogEntriesController < ApplicationController

  def index
  	if params[:logged_action_id]
  		@logged_action = LoggedAction.find params[:logged_action_id]
  		@log_entries = LogEntry.find_for_action_and_group_by_params(@logged_action.id)
  	else
  		@log_entries = LogEntry.find_for_action_and_group_by_params
  	end
  end
end
